home *** CD-ROM | disk | FTP | other *** search
/ BCI NET / BCI NET Dec 94.iso / archives / programming / blitzbasic / blitz-list200994.lha / blitz-list / 000552_blitz-list-request_Wed Aug 31 12:38:32 1994.msg < prev    next >
Internet Message Format  |  1994-09-20  |  3KB

  1. Received: from iconz.co.nz (iconz.co.nz [202.14.100.2]) by kantti.helsinki.fi (8.6.9/8.6.5) with SMTP id MAA18559 for <blitz-list@helsinki.fi>; Wed, 31 Aug 1994 12:37:48 +0300
  2. Received: (acid@localhost) by iconz.co.nz (8.6.6.Beta6/8.6.6.Beta6) id VAA06598; Wed, 31 Aug 1994 21:32:07 +1200
  3. Date: Wed, 31 Aug 1994 21:32:05 +1200 (NZST)
  4. From: Acid Software <acid@iconz.co.nz>
  5. Subject: Re: Mem Fragmentation - half solved
  6. To: "Ott M. Aaloe" <OTT@microlnk.ml.ee>
  7. cc: blitz-list@helsinki.fi
  8. In-Reply-To: <88227B0DC7@microlnk.ml.ee>
  9. Message-ID: <Pine.3.89.9408312100.A6504-0100000@iconz.co.nz>
  10. MIME-Version: 1.0
  11. Content-Type: TEXT/PLAIN; charset=US-ASCII
  12. X-Status: 
  13. Status: RO
  14.  
  15.  
  16.  
  17. On Wed, 31 Aug 1994, Ott M. Aaloe wrote:
  18.  
  19. > > Finally, we call AllocMem_ with a huge value a lot.  This defrags the
  20. > > memory to a large extent.
  21. > > 
  22. > I had same idea in mind. Can you explain a bit this bitmap cludge'ing.
  23. > I had some problems with it. What exactly does this cludgebitmap 
  24. > command want? Addres of a bitmap itself or the whole bitmap object 
  25. > structure? Must I create my own bitmap struct by hand?? Hmm..yes
  26. > here comes my other question. Someone explained once this but I lost
  27.  
  28. wo how about starting a new line once in a while ott! Anyway, the bitmap 
  29. structure for blitz is just the object size, there is a pointer in this 
  30. object that point to chipmem, be it a screensbitmap your bitmap or a 
  31. cludged bitmap. cludgebitmap does not allocate ANY memory, instead uses 
  32. withwords*height*bitplanes amount of the memory you supplied
  33.  
  34. > this msg so here it comes. How can I create blitz objects without
  35. > useing blitz commands to allocate them. For example I think it's not 
  36. > wise to  oad 10 samples one by one into memory. Instead I thought I 
  37. > link all samples into one piece, alloc some chip and load linked 
  38. > samples into it. Here's the problem - how I suppose to tell blitz that 
  39. > I have sound object #1 starting from addr x, sound #2 startting from
  40. > x+z etc.??
  41. >                 O.T.T. (ott@microlnk.ml.ee)
  42.  
  43. v1.9 contains decode commands that allow you to incbin sound, shapes etc 
  44. into your program and then decode them, although these commands are 
  45. accessible in RILibs and Elmore's include library I have decided to 
  46. internalise them so that memory usage is both tight and tidy (minimum 
  47. requirements and least amount of fragmenting), hmmm, 
  48.  
  49. hoping to have your current headaches sorted with this release...
  50.  
  51. p.s. if it didn't take me so long to test my code for such things before 
  52. releasing it bum7 would have been finished tonight...
  53.